/**
 * axios 选项类
 */
export default class RequestOption{ 
    /**
     * 是否只返回一个对象，默认是false
     */
    public singleResult:boolean;
    /**
     * 是否刷新token，默认是true
     */
    public refreshToken?:boolean;
    /**
     * 请求超时时间（毫秒）
     */
    public timeout?:number;
    /**
     * 
     */
    public pagination?:any;

    constructor(singleResult:boolean = false, refreshToken:boolean = true, timeout?: number){
        this.singleResult = singleResult;
        this.refreshToken = refreshToken;
        this.timeout = timeout;
    }
    
} 